<div class="modal" >
  <!-- Modal header bar -->
  <ion-header-bar class="item-input-inset">
    <label class="item-input-wrapper">
      <i class="icon ion-ios-search placeholder-icon"></i>
      <input set-focus ng-blur="setBlur()" type="search" ng-model="searchPlace" placeholder="搜索" id="search_des" ng-change="onSearchModal(searchPlace)"  >
    </label>

    <button ng-if="searchConifg.showCancel" class="button button-clear" ng-click="closeSearch()">
      取消
    </button>
    <button ng-if="!searchConifg.showCancel" class="button button-clear" ng-click="search(searchPlace)">
      搜索
    </button>
    </ion-header-bar>

  <ion-content  has-header="true" >
    <div ng-if="searchConifg.showCancel" >
    <!--<div class="row">-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
    <!--</div>-->
    <!--<div class="row">-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
      <!--<div class="col button button-icon icon  ion-ios-home-outline"></div>-->
    <!--</div>-->
    <!--<div class="row">-->
    <!--<div class="col  button button-stable icon  ion-ios-search-strong" ng-click="his_click()"> 搜索记录</div>-->
    <!--<div class="col button button-calm icon  ion-ios-star-half" ng-click="coll_click()"> 收藏夹</div>-->
    <!--</div>-->
    <div class="list">
      <div class="item item-button-right"  ng-repeat="park in data2" >
       <p ng-click="showParkDesc(park)">  {{park.name}}</p>
        <button class="button button-positive"  style="background-color: #1EA18B" ng-click="directPark(park)" >
          <i class="icon ion-ios-paperplane"></i>
        </button>
      </div>

      <div class="item item-button-right"  ng-repeat="address in data1" >
        <p ng-click="search(address.search_value)">  {{address.search_value}}</p>
        <!--<button class="button button-positive" ng-click="HistDirect(park.Address)">-->
          <!--<i class="icon ion-ios-paperplane"></i>-->
        <!--</button>-->
      </div>


    </div>
    </div>
    <div ng-if="!searchConifg.showCancel">

      <div class="list" >
        <li class="item "  ng-repeat="place in result">
          <button class=" button button-clear button-dark" ng-click="search(place)">{{place}}</button>
        </li>
      </div>
    </div>

  </ion-content>
</div>


